<h4 class="search">Edit profile</h4>
<br />
<form action="EditProfile" method="POST">
    <input type="hidden" value="${userx.member_id}" name="id"/>
    <input type="hidden" value="${role}" name="role"/>
    <label for="firstname">Firstname</label> <input type="text" name="firstname" value="${userx.firstname}" id="firstname" required/>
    </br>
    <label for="insertion">Insertion</label> <input type="text" name="insertion" value="${userx.insertion}" id="insertion" />
    </br>
    <label for="lastname">Lastname</label> <input type="text" name="lastname" value="${userx.lastname}" id="lastname" required/>
    </br>
    <label for="email">E-mail</label> <input type="text" name="email" value="${userx.email}" id="email" required/>
    </br>
    <label for="gender">Gender</label>
    <div class="relative">
        <select class="select" id="gender" name="gender">
            <option value="male">Male</option>
            <option value="female">Female</option>
        </select>
        <span class="pointer"><span>
    </div>
    </br>
    <label for="visibility">Profile visibility</label>
    <div class="relative">
        <select class="select" id="visibility" name="visibility">
            <option value="public">Public</option>
            <option value="hidden">Hidden</option>
        </select>
        <span class="pointer"><span>
    </div>
    </br>
    <label for="interests">Interests</label> <input type="text" name="interests" value="${userdetailsx.interests}" id="interests" />
    </br>
    <label>&nbsp;</label> <input type="submit" value="Save "/>
</form>